Tommi Komulainen [Thu, 6 Dec 2007 20:14:17 +0000 (20:14 +0000)]
Remove trailing whitespace that can trigger false positives in abicheck.sh
2007-12-06 Tommi Komulainen <tommi.komulainen@iki.fi>
* gdk-pixbuf/gdk-pixbuf.symbols:
* gdk/gdk.symbols:
* gdk/gtk.symbols: Remove trailing whitespace that can trigger false
positives in abicheck.sh
svn path=/trunk/; revision=19124
Attilio Fiandrotti [Thu, 6 Dec 2007 17:45:05 +0000 (17:45 +0000)]
Committed a patch by DOK to fix GDK events generations in the DirectFB backend
svn path=/trunk/; revision=19122
13:55:06 Tim Janik [Thu, 6 Dec 2007 12:54:08 +0000 (12:54 +0000)]
replaced seq(1) invokation for X11 ids with a hardcoded set of likely
2007-12-06 13:55:06 Tim Janik <timj@imendio.com>
* Makefile.decl: replaced seq(1) invokation for X11 ids with a hardcoded
set of likely unused display ids, because MacOS has no seq(1) command.
svn path=/trunk/; revision=19121
Richard Hult [Thu, 6 Dec 2007 12:39:01 +0000 (12:39 +0000)]
Fix warning when switching spaces in leopard.
2007-12-06 Richard Hult <richard@imendio.com>
* gdk/quartz/gdkevents-quartz.c:
(synthesize_crossing_events_for_ns_event): Fix warning when
switching spaces in leopard.
svn path=/trunk/; revision=19119
13:38:36 Tim Janik [Thu, 6 Dec 2007 12:38:00 +0000 (12:38 +0000)]
ported to new testing framework.
2007-12-06 13:38:36 Tim Janik <timj@imendio.com>
* tests/floatingtest.c: ported to new testing framework.
* tests/Makefile.am: run floatingtest as testing framework test.
svn path=/trunk/; revision=19118
10:44:52 Tim Janik [Thu, 6 Dec 2007 09:43:20 +0000 (09:43 +0000)]
majorly speed up execution by reducing timeouts and converting main loop
2007-12-06 10:44:52 Tim Janik <timj@imendio.com>
* tests/autotestfilechooser.c: majorly speed up execution by reducing
timeouts and converting main loop sleeps to pending/iterate loops with
very low priority async handlers. eliminate output for non-verbose
tests. assert successfull subtests in all test functions. use testing
framework in main().
* tests/Makefile.am: add autotestfilechooser to TEST_PROGS, so it's
executed inside Xvfb upon make check.
svn path=/trunk/; revision=19117
08:23:38 Tim Janik [Thu, 6 Dec 2007 07:22:03 +0000 (07:22 +0000)]
use string comparisons for string property values and get rid of
2007-12-06 08:23:38 Tim Janik <timj@imendio.com>
* tests/objecttests.c: use string comparisons for string property
values and get rid of referencing symbols in array initialization.
svn path=/trunk/; revision=19116
18:59:59 Tim Janik [Wed, 5 Dec 2007 16:58:44 +0000 (16:58 +0000)]
run tests in current dir after setting up the logging directory, so their
2007-12-05 18:59:59 Tim Janik <timj@imendio.com>
* gtk+/Makefile.decl: run tests in current dir after setting up the
logging directory, so their results get properly merged into the
resulting test log.
* gtk+/gtk/gtktestutils.[hc]: added gtk_test_list_all_types() for
tests to loop over registered Gdk/Gtk+ types.
* gtk+/tests/objecttests.c: new test program, implements automated
property tests. several properties are blacklisted because they
seem to trigger Gdk/Gtk+ bugs. ./objecttests -m thorough --verbose
can be used to test blacklisted properties and see which proprty failed.
svn path=/trunk/; revision=19115
Richard Hult [Tue, 4 Dec 2007 19:08:11 +0000 (19:08 +0000)]
Fully initialize the root window, fixes bug #501583.
2007-12-04 Richard Hult <richard@imendio.com>
* gdk/quartz/gdkwindow-quartz.c: (_gdk_windowing_window_init):
Fully initialize the root window, fixes bug #501583.
svn path=/trunk/; revision=19109
Matthias Clasen [Tue, 4 Dec 2007 18:43:47 +0000 (18:43 +0000)]
Modify the tab-label-destroy fix to not crash epiphany.
2007-12-04 Matthias Clasen <mclasen@redhat.com>
* gtk/gtknotebook.c: Modify the tab-label-destroy fix to not
crash epiphany.
svn path=/trunk/; revision=19107
Richard Hult [Mon, 3 Dec 2007 19:51:20 +0000 (19:51 +0000)]
Don't crash when dragging from a source that doesn't support uri lists
2007-12-03 Richard Hult <richard@imendio.com>
* gtk/gtkquartz.c: (_gtk_quartz_set_selection_data_for_pasteboard):
Don't crash when dragging from a source that doesn't support uri
lists (bug #499868, Paul Davis).
svn path=/trunk/; revision=19102
Richard Hult [Mon, 3 Dec 2007 19:34:30 +0000 (19:34 +0000)]
Don't crash when a parent relative bg pixmap is set, and no parent has a
2007-12-03 Richard Hult <richard@imendio.com>
* gdk/quartz/gdkwindow-quartz.c:
(gdk_window_impl_quartz_begin_paint_region): Don't crash when a
parent relative bg pixmap is set, and no parent has a bg
pixmap. Fixes bug #500804.
svn path=/trunk/; revision=19100
Matthias Clasen [Mon, 3 Dec 2007 17:44:27 +0000 (17:44 +0000)]
Two optimizations for icon cache lookups.
2007-12-03 Matthias Clasen <mclasen@redhat.com>
Two optimizations for icon cache lookups.
* gtk/gtkiconcache.[hc]:
* gtk/gtkicontheme.c: Remember the directory index for
subdirectories, instead of running over the directory list
again and again.
* gtk/gtkiconcache.c (find_image_offset): Remember the last
chain and try it first; this helps with the the usage patterns
in gtkicontheme.c, where the same icon is queried for a lot
of subdirectories.
svn path=/trunk/; revision=19099
15:18:17 Tim Janik [Mon, 3 Dec 2007 14:17:31 +0000 (14:17 +0000)]
use 'grep -o' to extract _get_type functions from header files. this
2007-12-03 15:18:17 Tim Janik <timj@imendio.com>
* gtk/Makefile.am (gtktypefuncs.c): use 'grep -o' to extract _get_type
functions from header files. this should be portable across linux and
Mac OS, unlike the previpous sed expression.
svn path=/trunk/; revision=19098
Cody Russell [Sat, 1 Dec 2007 22:08:19 +0000 (22:08 +0000)]
[Win32]: On Windows, queue a redraw of child2 whenever we set the pane
2007-12-1 Cody Russell <bratsche@gnome.org>
* gtk/gtkpaned.c: (gtk_paned_set_position) [Win32]:
On Windows, queue a redraw of child2 whenever we set
the pane handle position. This is unfortunately kind
of hacky, but solves the visual artifacts that were
occuring on at least certain types of child widgets
(e.g., text views and tree views) that are inside
horizontal or vertical panes. (#144269)
svn path=/trunk/; revision=19095
Matthias Clasen [Fri, 30 Nov 2007 18:20:39 +0000 (18:20 +0000)]
Fix doc typos
svn path=/trunk/; revision=19094
Matthias Clasen [Fri, 30 Nov 2007 18:16:08 +0000 (18:16 +0000)]
Fix a typo
svn path=/trunk/; revision=19093
Matthias Clasen [Fri, 30 Nov 2007 00:36:52 +0000 (00:36 +0000)]
Remove debug spew
svn path=/trunk/; revision=19092
Matthias Clasen [Thu, 29 Nov 2007 23:54:23 +0000 (23:54 +0000)]
Fix subdir ordering
svn path=/trunk/; revision=19091
Stéphane Raimbault [Wed, 28 Nov 2007 09:20:03 +0000 (09:20 +0000)]
Updated French translation.
2007-11-28 Stéphane Raimbault <stephane.raimbault@gmail.com>
* fr.po: Updated French translation.
svn path=/trunk/; revision=19090
Tor Lillqvist [Wed, 28 Nov 2007 01:09:54 +0000 (01:09 +0000)]
Tack on "/share/locale" to GTK_LOCALEDIR so that the code in
2007-11-28 Tor Lillqvist <tml@novell.com>
* config.h.win32.in: Tack on "/share/locale" to GTK_LOCALEDIR so
that the code in _gtk_get_localedir() will find the slashes.
svn path=/trunk/; revision=19084
Tor Lillqvist [Wed, 28 Nov 2007 01:06:07 +0000 (01:06 +0000)]
A proper build of GNU libintl is supposed to export the variable
2007-11-28 Tor Lillqvist <tml@novell.com>
A proper build of GNU libintl is supposed to export the variable
_nl_msg_cat_cntr. configure looks for that variable in order to
recognize GNU gettext. If it sees that it is indeed GNU gettext
that is used, it decides to install message catalogs in
share/locale, otherwise in lib/locale. Until now on Windows I have
built GTK+ against a build of GNU gettext that did not export
_nl_msg_cat_cntr. But this will change, so we can't assume message
catalogs are always in lib/locale.
* gtk/gtkmain.c: (_gtk_get_localedir) [Win32]: Rework to handle
GTK_LOCALEDIR being either in "lib" or "share". Move the function
before the inclusion of gtkprivate.h so that it sees the original
GTK_LOCALEDIR.
* gtk-zip.sh.in: Check whether the message catalogs are in
share/locale or lib/locale.
svn path=/trunk/; revision=19083
Tor Lillqvist [Tue, 27 Nov 2007 23:28:16 +0000 (23:28 +0000)]
Improve portability. The -o option is present only in newish GNU egreps.
2007-11-28 Tor Lillqvist <tml@novell.com>
* gtk/Makefile.am: Improve portability. The -o option is present
only in newish GNU egreps. Use one more sed in the pipeline
instead.
svn path=/trunk/; revision=19082
Tor Lillqvist [Tue, 27 Nov 2007 22:48:32 +0000 (22:48 +0000)]
Remove fuzzy marker for the metadata entry (the first one, for the string
2007-11-28 Tor Lillqvist <tml@novell.com>
* io.po: Remove fuzzy marker for the metadata entry (the first
one, for the string ""), as having that fuzzy crashes msgfmt from
gettext 0.17, at least for me.
svn path=/trunk/; revision=19081
Tor Lillqvist [Tue, 27 Nov 2007 22:29:46 +0000 (22:29 +0000)]
Fix #375893, patch by Ben Hague:
2007-11-28 Tor Lillqvist <tml@novell.com>
Fix #375893, patch by Ben Hague:
* gtk/gtkfilesystemwin32.c (get_viewable_logical_drives): Wrapper
around GetLogicalDrives() that takes also the viewable drive
restrictions in the Registry (which are usually the result of an
Active Directory Group Policy) into account.
(check_volumes, gtk_file_system_win32_list_volumes) Call
get_viewable_logical_drives() instead of GetLogicalDrives().
svn path=/trunk/; revision=19079
Matthias Clasen [Tue, 27 Nov 2007 18:15:28 +0000 (18:15 +0000)]
Zero some variables to silence valgrind. (#495124, Morten Welinder)
2007-11-27 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkwindow.c (gtk_window_move_resize): Zero some
variables to silence valgrind. (#495124, Morten Welinder)
svn path=/trunk/; revision=19077
Ryan Lortie [Tue, 27 Nov 2007 03:25:09 +0000 (03:25 +0000)]
add clarification stating that the construct_child function is responsible
2006-11-26 Ryan Lortie <desrt@desrt.ca>
* docs/reference/gtk/tmpl/gtkbuildable.sgml: add clarification stating
that the construct_child function is responsible for returning a
reference.
* gtkbuilder.c (_gtk_builder_construct): remove g_object_ref() for
objects from constructors
* gtkuimanager.c (gtk_ui_manager_buildable_construct_child): add
g_object_ref() to this construction function (it's the only
implementer in GTK)
Fixes #496645.
svn path=/trunk/; revision=19075
Ryan Lortie [Tue, 27 Nov 2007 03:07:23 +0000 (03:07 +0000)]
remove concept of root objects and just refcount all objects in the
2006-11-26 Ryan Lortie <desrt@desrt.ca>
* gtkbuilder.c: remove concept of root objects and just refcount
all objects in the builder. Fixes #496651.
svn path=/trunk/; revision=19074
Ryan Lortie [Tue, 27 Nov 2007 02:34:12 +0000 (02:34 +0000)]
fix invalid free
2007-11-26 Ryan Lortie <desrt@desrt.ca>
* tests/buildertest.c (test_window): fix invalid free
svn path=/trunk/; revision=19073
Josselin Mouette [Mon, 26 Nov 2007 23:16:19 +0000 (23:16 +0000)]
reviewed by: Federico Mena Quintero
2007-11-26 Josselin Mouette <joss@malsain.org>
reviewed by: Federico Mena Quintero
* gtk/gtkfilechooserdefault.c: (shortcuts_append_paths),
(shortcuts_add_bookmarks), (shortcuts_selection_changed_cb),
(shortcuts_list_create), (gtk_file_chooser_default_should_respond):
Make the shortcuts activate with a single click. (#148828)
Fix a few things affected by the change:
- Set selection mode to GTK_SELECTION_SINGLE to allow a case
where no shortcut is selected.
- Don't activate a shortcut in the response callback.
- Filter out duplicate entries in volumes and bookmarks to
avoid the selection to change when reordering them with DnD.
svn path=/trunk/; revision=19072
Leonardo Ferreira Fontenelle [Mon, 26 Nov 2007 22:59:40 +0000 (22:59 +0000)]
Brazilian Portuguese translation updated by Pedro de Medeiros.
2007-11-26 Leonardo Ferreira Fontenelle <leonardof@svn.gnome.org>
* pt_BR.po: Brazilian Portuguese translation updated by Pedro de
Medeiros.
svn path=/trunk/; revision=19071
Leonardo Ferreira Fontenelle [Mon, 26 Nov 2007 22:52:43 +0000 (22:52 +0000)]
Brazilian Portuguese translation updated by Pedro de Medeiros and myself.
2007-11-26 Leonardo Ferreira Fontenelle <leonardof@svn.gnome.org>
* pt_BR.po: Brazilian Portuguese translation updated by Pedro de
Medeiros and myself.
svn path=/trunk/; revision=19070
Matthias Clasen [Mon, 26 Nov 2007 20:15:15 +0000 (20:15 +0000)]
Fix up some doc comments to shut up gtk-doc.
2007-11-26 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkmain.c:
* gtk/gtknotebook.c:
* gtk/gtkplugprivate.h:
* gtk/gtksocket.c:
* gtk/gtksocketprivate.h:
* gtk/gtktable.c: Fix up some doc comments to shut up gtk-doc.
svn path=/trunk/; revision=19066
Matthias Clasen [Mon, 26 Nov 2007 19:05:38 +0000 (19:05 +0000)]
Use $CUPS_CONFIG instead of hardcoded cups-config. (#495574, Richard Hult)
2007-11-26 Matthias Clasen <mclasen@redhat.com>
* configure.in: Use $CUPS_CONFIG instead of hardcoded cups-config.
(#495574, Richard Hult)
svn path=/trunk/; revision=19062
Matthias Clasen [Mon, 26 Nov 2007 18:27:20 +0000 (18:27 +0000)]
Change some labels to be clearer. String change ! (#376361, Sven Neumann)
2007-11-26 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkprintunixdialog.c: Change some labels to be clearer.
String change ! (#376361, Sven Neumann)
svn path=/trunk/; revision=19061
Matthias Clasen [Mon, 26 Nov 2007 18:21:13 +0000 (18:21 +0000)]
Short-circuit on destroy. (gtk_notebook_destroy): Destroy tab_label
2007-11-26 Matthias Clasen <mclasen@redhat.com>
* gtk/gtknotebook.c (gtk_notebook_update_labels): Short-circuit on
destroy.
(gtk_notebook_destroy): Destroy tab_label widgets. (#388321, Morten
Welinder)
svn path=/trunk/; revision=19059
Matthias Clasen [Mon, 26 Nov 2007 18:16:46 +0000 (18:16 +0000)]
Improve alternative button ordering. (#476827, Yevgen Muntyan, patch by
2007-11-26 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkassistant.c: Improve alternative button
ordering. (#476827, Yevgen Muntyan, patch by Carlos Garnacho)
svn path=/trunk/; revision=19057
Matthias Clasen [Mon, 26 Nov 2007 17:42:35 +0000 (17:42 +0000)]
Fix a theming problem with colors in GtkCalendar. (#499703, Michael
2007-11-26 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkcalendar.c: Fix a theming problem with colors
in GtkCalendar. (#499703, Michael Hofmann)
svn path=/trunk/; revision=19055
Matthias Clasen [Mon, 26 Nov 2007 17:34:24 +0000 (17:34 +0000)]
Bump glib requirement
svn path=/trunk/; revision=19054
Matthias Clasen [Mon, 26 Nov 2007 17:32:19 +0000 (17:32 +0000)]
Use templates for glib-mkenums calls instead of complicated commandlines
2007-11-26 Matthias Clasen <mclasen@redhat.com>
Use templates for glib-mkenums calls instead of
complicated commandlines in Makefiles. (#429910)
* gdk-pixbuf/Makefile.am:
* gdk/Makefile.am:
* gtk/Makefile.am:
* perf/Makefile.am: Use templates for glib-mkenums
* gdk-pixbuf/gdk-pixbuf-enum-types.[ch].template:
* gdk/gdkenumtypes.[ch].template:
* gtk/gtktypebuiltings.[ch].template:
* perf/typebuiltins.[ch].template: The templates
svn path=/trunk/; revision=19053
Matthias Clasen [Mon, 26 Nov 2007 17:10:00 +0000 (17:10 +0000)]
Don't use guint8 for bitfields, since some compilers choke on that.
2007-11-26 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkfilechooserbutton.c:
* gtk/gtktoolbar.c: Don't use guint8 for bitfields, since
some compilers choke on that. (#467722)
svn path=/trunk/; revision=19051
Matthias Clasen [Mon, 26 Nov 2007 16:48:21 +0000 (16:48 +0000)]
Add a note about hook setup. (#425004, Emmanuele Bassi)
2007-11-26 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkaboutdialog.c (gtk_about_dialog_set_website): Add a note
about hook setup. (#425004, Emmanuele Bassi)
svn path=/trunk/; revision=19050
Priit Laes [Mon, 26 Nov 2007 14:58:34 +0000 (14:58 +0000)]
Translation updated by Ivar Smolin.
2007-11-26 Priit Laes <plaes@svn.gnome.org>
* et.po: Translation updated by Ivar Smolin.
svn path=/trunk/; revision=19049
Priit Laes [Mon, 26 Nov 2007 14:46:29 +0000 (14:46 +0000)]
Translation updated by Ivar Smolin.
2007-11-26 Priit Laes <plaes@svn.gnome.org>
* et.po: Translation updated by Ivar Smolin.
svn path=/trunk/; revision=19048
Tor Lillqvist [Sun, 25 Nov 2007 22:59:50 +0000 (22:59 +0000)]
Use the monitor the window currently is on, not always the primary
2007-11-26 Tor Lillqvist <tml@novell.com>
* gdk/win32/gdkwindow-win32.c (gdk_window_fullscreen): Use the
monitor the window currently is on, not always the primary
monitor. (#463865, Tim Evans)
svn path=/trunk/; revision=19047
Tor Lillqvist [Sun, 25 Nov 2007 22:25:18 +0000 (22:25 +0000)]
New file, dummy implementations.
2007-11-26 Tor Lillqvist <tml@novell.com>
* gdk/win32/gdktestutils-win32.c: New file, dummy implementations.
* gdk/win32/Makefile.am: Add it.
svn path=/trunk/; revision=19045
Tor Lillqvist [Sun, 25 Nov 2007 22:18:52 +0000 (22:18 +0000)]
Don't add jasper to all_loaders if no libjasper.
2007-11-26 Tor Lillqvist <tml@novell.com>
* configure.in: Don't add jasper to all_loaders if no libjasper.
* gdk-pixbuf/Makefile.am: Fix static build of the icns loader.
svn path=/trunk/; revision=19044
Nickolay V. Shmyrev [Sun, 25 Nov 2007 19:49:46 +0000 (19:49 +0000)]
Updated Russian translation by Vasiliy Faronov <qvvx@yandex.ru>
2007-11-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
* ru.po: Updated Russian translation
by Vasiliy Faronov <qvvx@yandex.ru>
svn path=/trunk/; revision=19043
Bastien Nocera [Sun, 25 Nov 2007 18:07:01 +0000 (18:07 +0000)]
Add detection for libjasper, used by the gdk-pixbuf JPEG2000 loader
2007-11-25 Bastien Nocera <hadess@hadess.net>
* configure.in: Add detection for libjasper, used by the
gdk-pixbuf JPEG2000 loader
2007-11-25 Bastien Nocera <hadess@hadess.net>
* Makefile.am:
* io-jasper.c: Add the libjasper JPEG2000 loader
(Closes: #469901)
svn path=/trunk/; revision=19042
Matthias Clasen [Sun, 25 Nov 2007 06:51:19 +0000 (06:51 +0000)]
Require gtk-doc 1.8
2007-11-25 Matthias Clasen <mclasen@redhat.com>
* configure.in: Require gtk-doc 1.8
* */*.c: Use gtk-doc abbreviations for examples in docs.
svn path=/trunk/; revision=19041
Matthias Clasen [Sun, 25 Nov 2007 06:07:44 +0000 (06:07 +0000)]
Fix a typo
svn path=/trunk/; revision=19039
Matthias Clasen [Sun, 25 Nov 2007 05:40:49 +0000 (05:40 +0000)]
Move signal and property documentation inline, fix a problem with the
2007-11-25 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkdialog.c: Move signal and property documentation inline,
fix a problem with the ::response signal docs. (#499133, Josselin
Mouette)
svn path=/trunk/; revision=19038
Priit Laes [Sat, 24 Nov 2007 12:42:58 +0000 (12:42 +0000)]
Translation updated by Ivar Smolin.
2007-11-24 Priit Laes <plaes@svn.gnome.org>
* et.po: Translation updated by Ivar Smolin.
svn path=/trunk/; revision=19036
Priit Laes [Sat, 24 Nov 2007 12:42:45 +0000 (12:42 +0000)]
Translation updated by Ivar Smolin.
2007-11-24 Priit Laes <plaes@svn.gnome.org>
* et.po: Translation updated by Ivar Smolin.
svn path=/trunk/; revision=19035
15:48:26 Tim Janik [Thu, 22 Nov 2007 14:47:57 +0000 (14:47 +0000)]
initialize automake variables EXTRA_DIST and TEST_PROGS for unconditional
2007-11-22 15:48:26 Tim Janik <timj@imendio.com>
* Makefile.decl: initialize automake variables EXTRA_DIST and
TEST_PROGS for unconditional appending via += in other makefiles.
define recursive test targets: test, test-report, perf-report,
full-report, as described here:
http://mail.gnome.org/archives/gtk-devel-list/2007-November/msg00000.html
the test targets will execute Gtk+ test programs within an Xvfb session.
* gtk/gtktestutils.c: call g_test_init() from gtk_test_init().
* gtk/tests/testing.c: use g_test_add_func() to register tests and use
g_test_run() to run the tests to integrate with the testing framework.
* gtk/tests/Makefile.am: removed exemplary testing rules.
* Makefile.am, gtk/tests/Makefile.am, gtk/Makefile.am:
* gtk/xdgmime/Makefile.am, gtk/theme-bits/Makefile.am:
* tests/Makefile.am, docs/reference/gdk-pixbuf/Makefile.am:
* docs/reference/gdk/Makefile.am, docs/reference/gtk/Makefile.am:
* docs/reference/Makefile.am, docs/tools/Makefile.am:
* docs/tutorial/Makefile.am, docs/faq/Makefile.am, docs/Makefile.am:
* gdk-pixbuf/pixops/Makefile.am, gdk-pixbuf/Makefile.am:
* demos/gtk-demo/Makefile.am, demos/Makefile.am:
* modules/input/Makefile.am, modules/printbackends/file/Makefile.am:
* modules/printbackends/test/Makefile.am, modules/printbackends/Makefile.am:
* modules/printbackends/cups/Makefile.am, modules/printbackends/lpr/Makefile.am:
* modules/engines/ms-windows/Theme/gtk-2.0/Makefile.am:
* modules/engines/ms-windows/Theme/Makefile.am:
* modules/engines/ms-windows/Makefile.am:
* modules/engines/Makefile.am, modules/engines/pixbuf/Makefile.am:
* modules/Makefile.am, m4macros/Makefile.am, perf/Makefile.am:
* contrib/Makefile.am, contrib/gdk-pixbuf-xlib/Makefile.am:
* gdk/directfb/Makefile.am, gdk/linux-fb/Makefile.am:
* gdk/quartz/Makefile.am, gdk/win32/rc/Makefile.am:
* gdk/win32/Makefile.am, gdk/x11/Makefile.am, gdk/Makefile.am:
include $(top_srcdir)/Makefile.decl, adapted EXTRA_DIST assignments.
svn path=/trunk/; revision=19034
15:39:40 Tim Janik [Thu, 22 Nov 2007 14:38:26 +0000 (14:38 +0000)]
call g_test_init() from gtk_test_init().
2007-11-22 15:39:40 Tim Janik <timj@imendio.com>
* gtk/gtktestutils.c: call g_test_init() from gtk_test_init().
* gtk/tests/testing.c: use g_test_add_func() to register tests and use
g_test_run() to run the tests to integrate with the testing framework.
* gtk/tests/Makefile.am: removed exemplary testing rules.
* Makefile.am, gtk/tests/Makefile.am, gtk/Makefile.am:
* gtk/xdgmime/Makefile.am, gtk/theme-bits/Makefile.am:
* tests/Makefile.am, docs/reference/gdk-pixbuf/Makefile.am:
* docs/reference/gdk/Makefile.am, docs/reference/gtk/Makefile.am:
* docs/reference/Makefile.am, docs/tools/Makefile.am:
* docs/tutorial/Makefile.am, docs/faq/Makefile.am, docs/Makefile.am:
* gdk-pixbuf/pixops/Makefile.am, gdk-pixbuf/Makefile.am:
* demos/gtk-demo/Makefile.am, demos/Makefile.am:
* modules/input/Makefile.am, modules/printbackends/file/Makefile.am:
* modules/printbackends/test/Makefile.am, modules/printbackends/Makefile.am:
* modules/printbackends/cups/Makefile.am, modules/printbackends/lpr/Makefile.am:
* modules/engines/ms-windows/Theme/gtk-2.0/Makefile.am:
* modules/engines/ms-windows/Theme/Makefile.am:
* modules/engines/ms-windows/Makefile.am:
* modules/engines/Makefile.am, modules/engines/pixbuf/Makefile.am:
* modules/Makefile.am, m4macros/Makefile.am, perf/Makefile.am:
* contrib/Makefile.am, contrib/gdk-pixbuf-xlib/Makefile.am:
* gdk/directfb/Makefile.am, gdk/linux-fb/Makefile.am:
* gdk/quartz/Makefile.am, gdk/win32/rc/Makefile.am:
* gdk/win32/Makefile.am, gdk/x11/Makefile.am, gdk/Makefile.am:
include $(top_srcdir)/Makefile.decl, adapted EXTRA_DIST assignments.
svn path=/trunk/; revision=19033
Priit Laes [Thu, 22 Nov 2007 11:38:44 +0000 (11:38 +0000)]
Translation updated by Ivar Smolin.
2007-11-22 Priit Laes <plaes@svn.gnome.org>
* et.po: Translation updated by Ivar Smolin.
svn path=/trunk/; revision=19032
Matthias Clasen [Thu, 22 Nov 2007 06:04:41 +0000 (06:04 +0000)]
Fix a casting problem. (#485662, patch by Herbert Valerio Riedel)
2007-11-22 Matthias Clasen <mclasen@redhat.com>
* modules/printbackends/cups/gtkcupsutils.c: Fix a casting problem.
(#485662, patch by Herbert Valerio Riedel)
svn path=/trunk/; revision=19025
Matthias Clasen [Thu, 22 Nov 2007 05:50:32 +0000 (05:50 +0000)]
Fix an aliasing problem. (#347585, Ed Catmur)
2007-11-22 Matthias Clasen <mclasen@redhat.com>
* gtk/gtktextiter.c: Fix an aliasing problem. (#347585, Ed Catmur)
svn path=/trunk/; revision=19024
Richard Hult [Wed, 21 Nov 2007 11:29:03 +0000 (11:29 +0000)]
* gdk/quartz/gdktestutils-quartz.c: Add stubs for the testing functions to
2007-11-21 Richard Hult <richard@imendio.com>
* gdk/quartz/Makefile.am: * gdk/quartz/gdktestutils-quartz.c: Add
stubs for the testing functions to fix the build.
svn path=/trunk/; revision=19023
Behdad Esfahbod [Wed, 21 Nov 2007 09:32:35 +0000 (09:32 +0000)]
Fix C89 compilation issue. (#467711, The Written Word)
2007-11-21 Behdad Esfahbod <behdad@gnome.org>
* tests/testrichtext.c (setup_buffer): Fix C89 compilation issue.
(#467711, The Written Word)
svn path=/trunk/; revision=19022
Ross Burton [Wed, 21 Nov 2007 09:22:48 +0000 (09:22 +0000)]
Add xsetting for gtk-scrolled-window-placement (#458103).
2007-11-21 Ross Burton <ross@openedhand.com>
* gdk/x11/gdksettings.c:
Add xsetting for gtk-scrolled-window-placement (#458103).
svn path=/trunk/; revision=19021
Behdad Esfahbod [Wed, 21 Nov 2007 09:22:06 +0000 (09:22 +0000)]
Make GtkMenuItem's arrow size themeable. (#469239, Michael Natterer)
2007-11-21 Behdad Esfahbod <behdad@gnome.org>
* gtk/gtkmenuitem.c (gtk_menu_item_class_init),
(gtk_menu_item_paint): Make GtkMenuItem's arrow size themeable.
(#469239, Michael Natterer)
svn path=/trunk/; revision=19020
Behdad Esfahbod [Wed, 21 Nov 2007 09:12:59 +0000 (09:12 +0000)]
Add Gtk/EnableAccels and Gtk/EnableMnemonics xsettings for
2007-11-21 Behdad Esfahbod <behdad@gnome.org>
* gdk/x11/gdksettings.c (gdk_settings_names, gdk_settings_map): Add
Gtk/EnableAccels and Gtk/EnableMnemonics xsettings for
gtk-enable-accels and gtk-enable-mnemonics GtkSettings respectively.
(#436536, Tommi Komulainen)
svn path=/trunk/; revision=19019
Matthias Clasen [Wed, 21 Nov 2007 05:49:35 +0000 (05:49 +0000)]
Fix the default value of the toolbar-style property. (#489782, Jan Janech)
2007-11-21 Matthias Clasen <mclasen@redhat.com>
* gtk/gtktoolbar.c: Fix the default value of the toolbar-style
property. (#489782, Jan Janech)
svn path=/trunk/; revision=19018
Matthias Clasen [Wed, 21 Nov 2007 04:56:50 +0000 (04:56 +0000)]
Avoid drawing one too many frames. (#107398, Owen Taylor, Miguel Gomez)
2007-11-20 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkimage.c (animation_timeout): Avoid drawing one too many
frames. (#107398, Owen Taylor, Miguel Gomez)
svn path=/trunk/; revision=19017
Matthias Clasen [Wed, 21 Nov 2007 04:12:13 +0000 (04:12 +0000)]
Use G_DEFINE_TYPE (#469341, Björn Lindqvist)
2007-11-20 Matthias Clasen <mclasen@redhat.com>
* gdk-pixbuf-animation.c: Use G_DEFINE_TYPE (#469341,
Björn Lindqvist)
svn path=/trunk/; revision=19016
Yannig MARCHEGAY [Tue, 20 Nov 2007 20:19:49 +0000 (20:19 +0000)]
Updated Occitan translation
svn path=/trunk/; revision=19015
Tim Janik [Tue, 20 Nov 2007 17:44:06 +0000 (17:44 +0000)]
Fixed copyright for newly submitted files.
svn path=/trunk/; revision=19014
Tim Janik [Tue, 20 Nov 2007 15:04:33 +0000 (15:04 +0000)]
ChangeLog: added Gtk+ testing utility development history.
svn path=/trunk/; revision=19013
Tim Janik [Tue, 20 Nov 2007 15:03:31 +0000 (15:03 +0000)]
Moved Gdk test functions from Gtk+ to Gdk test utils.
* gdk/Makefile.am: added gdktestutils.h to public includes.
* gdk/gdk.h: added gdktestutils.h to public includes.
* gdk/gdk.symbols: added gdk_test_simulate_button, gdk_test_simulate_key,
gdk_test_render_sync.
* gdk/gdktestutils.h: new file, added prototypes for gdk_test_simulate_button,
gdk_test_simulate_key, gdk_test_render_sync.
* gdk/x11/Makefile.am: build gdktestutils-x11.c.
* gdk/x11/gdktestutils-x11.c: implemented gdk_test_simulate_button,
gdk_test_simulate_key, gdk_test_render_sync.
* gtk/gtktestutils.c:
* gtk/gtktestutils.h:
* gtk/gtk.symbols: removed gtk_test_simulate_button
gtk_test_simulate_key, gtk_test_xserver_render_sync.
* gtk/tests/testing.c: call gdk_test_render_sync.
svn path=/trunk/; revision=19012
Tim Janik [Tue, 20 Nov 2007 15:03:28 +0000 (15:03 +0000)]
Added unit tests for Gtk+ testing utilities.
* gtk/tests/testing.c: added a sample test program that tests Gtk+ test
utility functions. some g_test_* related portions are disabled and need
to be enabled once Gtk+ depends on a new glib with the GLib testing
framework integrated.
* gtk/tests/Makefile.am: new subdirectory to include quick Gtk+ tests.
added exemplary test rules to run tests inside Xvfb. this needs to depend
on gtester for full fledged testing.
* gtk/Makefile.am: build gtk+/gtk/tests, define -DGTK_ENABLE_BROKEN when
collecting _get_type functions to catch e.g. gtk_text_get_type().
* configure.in: create gtk/tests/Makefile.in and gtk/tests/Makefile.
svn path=/trunk/; revision=19011
Tim Janik [Tue, 20 Nov 2007 15:03:26 +0000 (15:03 +0000)]
Added Gtk+ testing utilities.
* gtk/gtktestutils.h, gtk/gtktestutils.c: added unit test utility functions.
for the most part, the functions herein involve navigating and interacting
with dialog elements programatically, to automate user interaction tests of
dialogs and widgets.
* gtk/gtk.h: include gtk/gtktestutils.h as public API.
* gtk/gtk.symbols: added gtk_test_* symbols.
* gtk/Makefile.am: include gtktestutils.h and gtktestutils.c into the build.
generate gtktypefuncs.c which contains a list of all _get_type functions in
Gtk+ and Gdk.
svn path=/trunk/; revision=19010
Bastien Nocera [Tue, 20 Nov 2007 11:15:12 +0000 (11:15 +0000)]
Add support for 512x512 Leopard icons, using the ic09 iconType
2007-11-20 Bastien Nocera <hadess@hadess.net>
* io-icns.c: (load_resources): Add support for 512x512 Leopard
icons, using the ic09 iconType
svn path=/trunk/; revision=19009
Bastien Nocera [Tue, 20 Nov 2007 10:28:35 +0000 (10:28 +0000)]
Add icns loader to the files to translate
2007-11-20 Bastien Nocera <hadess@hadess.net>
* POTFILES.in: Add icns loader to the files to translate
svn path=/trunk/; revision=19008
Bastien Nocera [Tue, 20 Nov 2007 10:26:57 +0000 (10:26 +0000)]
add support for conditional icns gdk-pixbuf loader (Closes: #395738)
2007-11-20 Bastien Nocera <hadess@hadess.net>
* configure.in: add support for conditional icns gdk-pixbuf loader
(Closes: #395738)
2007-11-20 Bastien Nocera <hadess@hadess.net>
* Makefile.am:
* io-icns.c: Add icns (MacOS X icons) loader, based on work by
Lyonel Vincent <lyonel@ezix.org> (Closes: #395738)
svn path=/trunk/; revision=19007
Matthias Clasen [Mon, 19 Nov 2007 18:59:49 +0000 (18:59 +0000)]
Fix some typos
svn path=/trunk/; revision=19006
10:31:26 Tim Janik [Mon, 19 Nov 2007 10:19:11 +0000 (10:19 +0000)]
updated version number to 2.15.0 for development.
2007-11-19 10:31:26 Tim Janik <timj@imendio.com>
* configure.in: updated version number to 2.15.0 for development.
svn path=/trunk/; revision=19005
10:31:26 Tim Janik [Mon, 19 Nov 2007 09:41:05 +0000 (09:41 +0000)]
updated version number to 2.15.0 for development.
2007-11-19 10:31:26 Tim Janik <timj@imendio.com>
* configure.in: updated version number to 2.15.0 for development.
svn path=/trunk/; revision=19004
10:27:39 Tim Janik [Mon, 19 Nov 2007 09:26:25 +0000 (09:26 +0000)]
=== Branch for 2.12 ===
2007-11-19 10:27:39 Tim Janik <timj@imendio.com>
=== Branch for 2.12 ===
svn path=/trunk/; revision=19003
Matthias Clasen [Mon, 19 Nov 2007 05:47:36 +0000 (05:47 +0000)]
Fix the GtkBuildable implementation to allow setting column types.
2007-11-19 Matthias Clasen <mclasen@redhat.com>
* gtk/gtktreestore.c: Fix the GtkBuildable implementation
to allow setting column types. (#496795, James Stephenson)
svn path=/trunk/; revision=19001
Matthias Clasen [Mon, 19 Nov 2007 05:34:19 +0000 (05:34 +0000)]
Make gtk_check_version() return const. (#496734, Nicolas Joseph)
2007-11-19 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkmain.[hc]: Make gtk_check_version() return const.
(#496734, Nicolas Joseph)
svn path=/trunk/; revision=19000
Matthias Clasen [Mon, 19 Nov 2007 05:28:28 +0000 (05:28 +0000)]
Correct docs for program-name property. (#496689, Thomas Wood)
2007-11-19 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkaboutdialog.c: Correct docs for program-name property.
(#496689, Thomas Wood)
svn path=/trunk/; revision=18999
Matthias Clasen [Mon, 19 Nov 2007 05:02:30 +0000 (05:02 +0000)]
Small correction to the informational DTD. (#496277, Nicolas Joseph)
2007-11-19 Matthias Clasen <mclasen@redhat.com>
* gtk/tmpl/gtkbuilder.sgml: Small correction to the
informational DTD. (#496277, Nicolas Joseph)
svn path=/trunk/; revision=18998
Paolo Borelli [Sat, 17 Nov 2007 10:18:13 +0000 (10:18 +0000)]
Use gtk_text_buffer_get_insert instead of get_mark. Fixes Bug 497164.
2007-11-17 Paolo Borelli <pborelli@katamail.com>
* gtk/gtktextbuffer.c:
* gtk/gtktextlayout.c:
* gtk/gtktextview.c:
Use gtk_text_buffer_get_insert instead of get_mark. Fixes Bug 497164.
svn path=/trunk/; revision=18997
Yevgen Muntyan [Thu, 15 Nov 2007 17:03:09 +0000 (17:03 +0000)]
new functions _gtk_text_btree_get_insert() and
2007-11-15 Yevgen Muntyan <muntyan@tamu.edu>
* gtk/gtktextbtree.h:
* gtk/gtktextbtree.c: new functions _gtk_text_btree_get_insert()
and _gtk_text_btree_get_selection_bound() (#497102).
* gtk/gtktextbuffer.c (gtk_text_buffer_get_insert),
(gtk_text_buffer_get_selection_bound): use them here instead of
hash table lookup.
svn path=/trunk/; revision=18996
Yevgen Muntyan [Thu, 15 Nov 2007 17:00:33 +0000 (17:00 +0000)]
sort returned tags array by tags priority (#497102).
2007-11-15 Yevgen Muntyan <muntyan@tamu.edu>
* gtk/gtktextbtree.c (_gtk_text_btree_get_tags): sort returned
tags array by tags priority (#497102).
* gtk/gtktextiter.c (gtk_text_iter_get_tags), (gtk_text_iter_get_attributes):
* gtk/gtktextlayout.c (get_tags_array_at_iter): and do not sort it here.
svn path=/trunk/; revision=18995
Yevgen Muntyan [Thu, 15 Nov 2007 16:24:42 +0000 (16:24 +0000)]
do not call _gtk_text_btree_get_iter_at_line() and
2007-11-15 Yevgen Muntyan <muntyan@tamu.edu>
* gtk/gtktextlayout.c: (gtk_text_layout_get_line_display),
(get_style): do not call _gtk_text_btree_get_iter_at_line() and
_gtk_text_btree_get_tags() for every segment, instead call them
once and then collect the tags while iterating over the segments.
(get_tags_array_at_iter), (tags_array_toggle_tag): new functions
for tags array handling.
svn path=/trunk/; revision=18994
Matej Urbančič [Wed, 14 Nov 2007 14:25:13 +0000 (14:25 +0000)]
Updated Slovenian translation
svn path=/trunk/; revision=18993
Matej Urbančič [Wed, 14 Nov 2007 14:01:58 +0000 (14:01 +0000)]
Updated Slovenian translation
svn path=/trunk/; revision=18992
Michael Natterer [Wed, 14 Nov 2007 10:09:44 +0000 (10:09 +0000)]
remove recently added gdk_flush() again, it's not needed after all.
2007-11-14 Michael Natterer <mitch@imendio.com>
* gtk/gtkmenu.c (gtk_menu_popup): remove recently added
gdk_flush() again, it's not needed after all.
svn path=/trunk/; revision=18991
Michael Natterer [Wed, 14 Nov 2007 10:00:37 +0000 (10:00 +0000)]
tests/testbbox.c use g_object_ref/unref instead of deprecated functions.
2007-11-14 Michael Natterer <mitch@imendio.com>
* tests/testbbox.c
* tests/testframe.c: use g_object_ref/unref instead of deprecated
functions.
svn path=/trunk/; revision=18990
Michael Natterer [Wed, 14 Nov 2007 09:45:59 +0000 (09:45 +0000)]
Remove conflict marker.
svn path=/trunk/; revision=18989
Michael Natterer [Wed, 14 Nov 2007 09:45:14 +0000 (09:45 +0000)]
cast pointers to fix warnings about signdness.
2007-11-14 Michael Natterer <mitch@imendio.com>
* gtk/gtkstyle.c (gtk_default_draw_focus): cast pointers to fix
warnings about signdness.
svn path=/trunk/; revision=18988
Sven Herzberg [Tue, 13 Nov 2007 21:05:09 +0000 (21:05 +0000)]
Reviewed by Richard:
2007-11-12 Sven Herzberg <herzi@imendio.com>
Reviewed by Richard:
* gdk/quartz/gdkquartz.h: include <gdk/gdkprivate.h> with angle
brackets and not with quotation marks
svn path=/trunk/; revision=18987
Alexander Larsson [Mon, 12 Nov 2007 15:51:55 +0000 (15:51 +0000)]
Avoid loading the ISO8859-1 iconv module. We're already doing all the
2007-11-12 Alexander Larsson <alexl@redhat.com>
* gdk/x11/gdkselection-x11.c:
Avoid loading the ISO8859-1 iconv module.
We're already doing all the required work anyway.
This saves 4kb private dirty memory per gtk+ process
svn path=/trunk/; revision=18986
Priit Laes [Mon, 12 Nov 2007 10:28:37 +0000 (10:28 +0000)]
Translation updated by Ivar Smolin.
2007-11-12 Priit Laes <plaes@svn.gnome.org>
* et.po: Translation updated by Ivar Smolin.
svn path=/trunk/; revision=18985
Yevgen Muntyan [Sun, 11 Nov 2007 19:07:27 +0000 (19:07 +0000)]
Moved gtk_text_view_update_im_spot_location() calls into an idle, fixes
2007-11-11 Yevgen Muntyan <muntyan@tamu.edu>
* gtk/gtktextview.c: Moved gtk_text_view_update_im_spot_location()
calls into an idle, fixes #494776.
GtkTextViewPrivate:im_spot_idle, do_update_im_spot_location(),
queue_update_im_spot_location(), flush_update_im_spot_location(): new
field and functions to queue the call;
(changed_handler): call queue_update_im_spot_location() instead of
gtk_text_view_update_im_spot_location();
(gtk_text_view_key_press_event): flush the idle here.
svn path=/trunk/; revision=18984
Ryan Lortie [Sun, 11 Nov 2007 18:06:11 +0000 (18:06 +0000)]
Convert delayed_properties hashtable to linked list. Fixes #495769.
2007-11-10 Ryan Lortie <desrt@desrt.ca>
* gtk/gtkbuilder.c: Convert delayed_properties hashtable to linked
list. Fixes #495769.
svn path=/trunk/; revision=18983
Matthias Clasen [Sun, 11 Nov 2007 03:24:06 +0000 (03:24 +0000)]
Avoid unaligned accesses that cause problems on some architectures. (patch
2007-11-10 Matthias Clasen <mclasen@redhat.com>
* io-jpeg.c: Avoid unaligned accesses that cause
problems on some architectures. (patch by David Miller)
svn path=/trunk/; revision=18982